package cn.example.vip.mall.search;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.data.elasticsearch.repository.config.EnableElasticsearchRepositories;

@EnableElasticsearchRepositories({"cn.example.vip.mall.search.mapper"})
@MapperScan({"cn.example.vip.mall.search.mapper"})
@SpringBootApplication(exclude = {DataSourceAutoConfiguration.class})	// 可能与ElasticSearch建立索引有关
public class MallSearchApplication {
	public static void main(String[] args) {
		SpringApplication.run(MallSearchApplication.class, args);
	}
}
